<table style="width: 80%;" align="center">
    <tr>
        <td>
            <div class="titulos"><?=$titulo.' / '.$idioma?></div><br>
            <div class="textos">
                Choose Language: <select name="idioma" onchange="change(this)">
                    <option value="">Choose...</option>
                    <option value="ar">Arabic</option>
                    <option value="en">English</option>
                    <option value="es">Spanish</option>
                    <option value="pt">Portuguese</option>
                </select>

                <script type="text/javascript">
                    function change(sel) {
                        window.location.href='/panel/update/<?=$segmento?>/'+sel.options[sel.selectedIndex].value+'/';
                    }
                </script>
            </div>
        </td>
    </tr>
</table>